package com.example.dao;

import com.example.common.R;
import com.example.pojo.entity.ApComment;
import com.example.pojo.req.CommentReq;

import java.sql.SQLException;

public interface CommentDao {

    R addComment(CommentReq comment, String token) throws Exception;

    R getCommentTree(String newsId,String commentId) throws Exception;

    R getFirstComment(String newsId) throws Exception;
}
